﻿using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace Subattle
{
	public partial class Explosion : UserControl
	{
		public Explosion()
		{
			// Required to initialize variables
			InitializeComponent();
            Bang.Begin();
		}

        private void Bang_Completed(object sender, EventArgs e)
        {
            ((Canvas)Parent).Children.Remove(this);
        }
	}
}